<?php /*
Create this table as output. Find the logic behind this and give the output.
*/
//error_reporting(0); 
?>
<?php
$a = "ad3bs3f5ds34fj2d4s8n23f1k4s1d3f";
$split = str_split($a);
$len =count($split);
$overtotal = 0;
function isNumber($c) {
    return preg_match('/[0-9]/', $c);
} 
		for($i=0; $i<$len; $i++)
		{
			 if(isNumber($split[$i]))
			{
			 $total = $split[$i];
			 $overtotal=$overtotal+$split[$i];
			}
		}
echo 'Sum : ' . $overtotal;
?>